{"ast":null,"code":"import style from './style';\nimport compose from './compose';\nfunction transform(value, userValue) {\n  if (userValue === 'grey') {\n    return userValue;\n  }\n  return value;\n}\nexport const color = style({\n  prop: 'color',\n  themeKey: 'palette',\n  transform\n});\nexport const bgcolor = style({\n  prop: 'bgcolor',\n  cssProperty: 'backgroundColor',\n  themeKey: 'palette',\n  transform\n});\nexport const backgroundColor = style({\n  prop: 'backgroundColor',\n  themeKey: 'palette',\n  transform\n});\nconst palette = compose(color, bgcolor, backgroundColor);\nexport default palette;","map":{"version":3,"names":["style","compose","transform","value","userValue","color","prop","themeKey","bgcolor","cssProperty","backgroundColor","palette"],"sources":["/data/messenger.client/node_modules/@mui/system/esm/palette.js"],"sourcesContent":["import style from './style';\nimport compose from './compose';\nfunction transform(value, userValue) {\n  if (userValue === 'grey') {\n    return userValue;\n  }\n  return value;\n}\nexport const color = style({\n  prop: 'color',\n  themeKey: 'palette',\n  transform\n});\nexport const bgcolor = style({\n  prop: 'bgcolor',\n  cssProperty: 'backgroundColor',\n  themeKey: 'palette',\n  transform\n});\nexport const backgroundColor = style({\n  prop: 'backgroundColor',\n  themeKey: 'palette',\n  transform\n});\nconst palette = compose(color, bgcolor, backgroundColor);\nexport default palette;"],"mappings":"AAAA,OAAOA,KAAK,MAAM,SAAS;AAC3B,OAAOC,OAAO,MAAM,WAAW;AAC/B,SAASC,SAAS,CAACC,KAAK,EAAEC,SAAS,EAAE;EACnC,IAAIA,SAAS,KAAK,MAAM,EAAE;IACxB,OAAOA,SAAS;EAClB;EACA,OAAOD,KAAK;AACd;AACA,OAAO,MAAME,KAAK,GAAGL,KAAK,CAAC;EACzBM,IAAI,EAAE,OAAO;EACbC,QAAQ,EAAE,SAAS;EACnBL;AACF,CAAC,CAAC;AACF,OAAO,MAAMM,OAAO,GAAGR,KAAK,CAAC;EAC3BM,IAAI,EAAE,SAAS;EACfG,WAAW,EAAE,iBAAiB;EAC9BF,QAAQ,EAAE,SAAS;EACnBL;AACF,CAAC,CAAC;AACF,OAAO,MAAMQ,eAAe,GAAGV,KAAK,CAAC;EACnCM,IAAI,EAAE,iBAAiB;EACvBC,QAAQ,EAAE,SAAS;EACnBL;AACF,CAAC,CAAC;AACF,MAAMS,OAAO,GAAGV,OAAO,CAACI,KAAK,EAAEG,OAAO,EAAEE,eAAe,CAAC;AACxD,eAAeC,OAAO"},"metadata":{},"sourceType":"module"}